import request from '@/utils/request';

// 代领旅客列表页
export async function getTableList(params) {
  return request('/dp/actAudit/getActApplyInfo', {
    method: 'get',
    params
  });
}

// 根据申领单号查询申领人信息
export async function getProposerById(params) {
  return request('/dp/actAudit/getActUserInfo', {
    method: 'get',
    params
  });
}

// 审核信息
export async function examineData(params) {
  return request('/dp/actAudit/getAuditInfo', {
    method: 'get',
    params
  });
}

// 代领审核提交
export async function saveAuditInfo(data) {
  return request('/dp/actAudit/saveAuditInfo', {
    method: 'post',
    data
  });
}

// 撤回代领审核
export async function resetActAuditInfo(data) {
  return request('/dp/actAudit/resetActAuditInfo', {
    method: 'post',
    params: data
  });
}

// 查询审核记录
export async function lookActAuditInfo(params) {
  return request('/dp/actAudit/getActAuditInfo', {
    method: 'get',
    params
  });
}

// 快速支付接口
export async function qucklyPay(params) {
  return request('/dp/actAudit/quickPay', {
    method: 'post',
    params
  });
}
